<% if controller_name !='home' %>
  <div class='container-fluid g_breadcrumb margin20'>
    <div class='content white'>
      <div class='bghome'><i class="fa fa-home"></i></div>
      <div class='title'>
        <%= link_to "首页",root_path %>
        <% if !@breadcrumb.blank? %><span class="divider"><i class="fa fa-angle-right"></i></span><% end %>
        <% if not @breadcrumb.blank? %>
          <% @breadcrumb.each_with_index do |item,i| %>
            <%= link_to item[0], item[1] %>
            <% if i + 1 < @breadcrumb.length %>
              <span class="divider"><i class="fa fa-angle-right"></i></span>
            <% end %>
          <% end %>
        <% end %>
      </div>
    </div>
  </div>
<% end %>
